package com.ruoyi.mall.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分销设置对象 mall_distribution_config
 * 
 * @author ruoyi
 * @date 2022-02-25
 */
public class MallDistributionConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 一级分销提成 % */
    @Excel(name = "一级分销提成 %")
    private BigDecimal firstPercent;

    /** 一级分销提成 固定金额 */
    @Excel(name = "一级分销提成 固定金额")
    private BigDecimal firstCommission;

    /** 二级分销提成 % */
    @Excel(name = "二级分销提成 %")
    private BigDecimal secondPercent;

    /** 二级分销提成 固定金额 */
    @Excel(name = "二级分销提成 固定金额")
    private BigDecimal secondCommission;

    /** 佣金提现手续费 % */
    @Excel(name = "佣金提现手续费 %")
    private BigDecimal withdrawCost;

    /** 满X元可提现 */
    @Excel(name = "满X元可提现")
    private BigDecimal fullPrice;

    /** 佣金最小提现金额 */
    @Excel(name = "佣金最小提现金额")
    private BigDecimal withdrawMin;

    /** 分销二维码背景图 */
    @Excel(name = "分销二维码背景图")
    private String distributionBgImage;

    /** 分销说明 */
    @Excel(name = "分销说明")
    private String distributionNotice;

    /** 提现提示说明 */
    @Excel(name = "提现提示说明")
    private String withdrawNotice;

    /** 提现方式：1-微信零钱 2-微信线下转账 3-支付宝 4-银行卡 */
    @Excel(name = "提现方式：1-微信零钱 2-微信线下转账 3-支付宝 4-银行卡")
    private String withdrawType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFirstPercent(BigDecimal firstPercent) 
    {
        this.firstPercent = firstPercent;
    }

    public BigDecimal getFirstPercent() 
    {
        return firstPercent;
    }
    public void setFirstCommission(BigDecimal firstCommission) 
    {
        this.firstCommission = firstCommission;
    }

    public BigDecimal getFirstCommission() 
    {
        return firstCommission;
    }
    public void setSecondPercent(BigDecimal secondPercent) 
    {
        this.secondPercent = secondPercent;
    }

    public BigDecimal getSecondPercent() 
    {
        return secondPercent;
    }
    public void setSecondCommission(BigDecimal secondCommission) 
    {
        this.secondCommission = secondCommission;
    }

    public BigDecimal getSecondCommission() 
    {
        return secondCommission;
    }
    public void setWithdrawCost(BigDecimal withdrawCost) 
    {
        this.withdrawCost = withdrawCost;
    }

    public BigDecimal getWithdrawCost() 
    {
        return withdrawCost;
    }
    public void setFullPrice(BigDecimal fullPrice) 
    {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getFullPrice() 
    {
        return fullPrice;
    }
    public void setWithdrawMin(BigDecimal withdrawMin) 
    {
        this.withdrawMin = withdrawMin;
    }

    public BigDecimal getWithdrawMin() 
    {
        return withdrawMin;
    }
    public void setDistributionBgImage(String distributionBgImage) 
    {
        this.distributionBgImage = distributionBgImage;
    }

    public String getDistributionBgImage() 
    {
        return distributionBgImage;
    }
    public void setDistributionNotice(String distributionNotice) 
    {
        this.distributionNotice = distributionNotice;
    }

    public String getDistributionNotice() 
    {
        return distributionNotice;
    }
    public void setWithdrawNotice(String withdrawNotice) 
    {
        this.withdrawNotice = withdrawNotice;
    }

    public String getWithdrawNotice() 
    {
        return withdrawNotice;
    }
    public void setWithdrawType(String withdrawType) 
    {
        this.withdrawType = withdrawType;
    }

    public String getWithdrawType() 
    {
        return withdrawType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("firstPercent", getFirstPercent())
            .append("firstCommission", getFirstCommission())
            .append("secondPercent", getSecondPercent())
            .append("secondCommission", getSecondCommission())
            .append("withdrawCost", getWithdrawCost())
            .append("fullPrice", getFullPrice())
            .append("withdrawMin", getWithdrawMin())
            .append("distributionBgImage", getDistributionBgImage())
            .append("distributionNotice", getDistributionNotice())
            .append("withdrawNotice", getWithdrawNotice())
            .append("withdrawType", getWithdrawType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
